package graph;

/**
 *
 * @author Roberto Maestre Martínez <roberto.maestre AT cchs.csic.es>
 */
public interface GraphBehaviur {

    /**
    * Add edge between tow nodes of the graph with weight
    *
    * @param x Colum of matrix
    * @param y Row of matrix
    * @param weigth Weight for the edge
    * @param label Label for the edge
    */
    public void addEdge(int x,int y,int weigth) throws Exception ;

    public String toGraphviz() throws Exception ;

    public PathCost getPathAndCostBetweenNodes(int start,int end);

}
